// author: jdellamore
// modifications: 

#pragma once

#include "vertextypes.h"
#include "cdirenderbase.h"

class CdiBox :
  public CdiRenderBase
{
protected:
  // Enabled or Disabled Render State
  BOOL                    m_enabled;
  
  // Color vertex as ray
  ColorVertex*            m_simpleVertex;
  
  // Scale
  float                   m_scale;

  // Index array
  short                   m_indices[36];
private:

  void Setup();

public:
  CdiBox();
  CdiBox(LPDIRECT3DDEVICE9 pDevice, float scale);

  ~CdiBox();

  void SetScale( float scale );
};
